import * as types from './mutation-types'
export const message = ({ commit }, msg) => {
  commit(types.SET_MESSAGE, msg)
}

export const chat = ({ commit }, msg) => {
  commit(types.SET_CHATOBJ, msg)
}
